package com.hzhr.iot.user.sdk.model.company;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CompanyModel", description = "公司模型")
public class CompanyModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 公司名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 公司名称简称(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "shortName")
    private String shortName;
    @ApiModelProperty(value = "说明 : 公司所在地(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "addr")
    private String addr;
    @ApiModelProperty(value = "说明 : 公司联系人(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "contacts")
    private String contacts;
    @ApiModelProperty(value = "说明 : 公司联系方式(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "phone")
    private String phone;
    @ApiModelProperty(value = "说明 : 公司邮箱(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "email")
    private String email;
    @ApiModelProperty(value = "说明 : 公司类型代码(show_info=true时展示; 关联 : user_service.options.code, typeName='COMPANY_TYPE')", required = true)
    @CygProperty(show = "_show_info", entityProp = "type")
    private String type;
    @ApiModelProperty(value = "说明 : 是否认证(show_info=true时展示; 0 否 1 是)", required = true)
    @CygProperty(show = "_show_info", entityProp = "isAuth")
    private String isAuth;
    @ApiModelProperty(value = "说明 : 是否认证(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "createUserId")
    private Integer createUserId;
    @ApiModelProperty(value = "说明 : 是否认证(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "resourceCode")
    private String resourceCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getResourceCode() {
        return resourceCode;
    }

    public void setResourceCode(String resourceCode) {
        this.resourceCode = resourceCode;
    }

    public String getIsAuth() {
        return isAuth;
    }

    public void setIsAuth(String isAuth) {
        this.isAuth = isAuth;
    }
}

